#!/bin/bash

source env.sh
NODE=$1

ssh -l $SLICE -i $SSH_KEY -o StrictHostKeyChecking=no $NODE 'rm -Rf *'
scp -i $SSH_KEY -o StrictHostKeyChecking=no ./deploy_to_pl/* $SLICE@$NODE:
ssh -l $SLICE -i $SSH_KEY -o StrictHostKeyChecking=no $NODE ./node_setup.sh

